package Ketang0416;

import java.util.Scanner;

public class 七的倍数 {

	public static void main(String[] args) {
		Scanner in = new Scanner(System.in);
		System.out.println("输入一个数：");
		int a = in.nextInt();
		if (a % 7 == 0) {
			System.out.println("该数为7的倍数");
		} else {
			System.out.println("该数不是7的倍数");
		}
	}

}
